#!/bin/bash

if [ $# != 1 ] ; then
echo "USAGE: $0 path_to_mocked_code"
exit 1;
fi

echo "g++ $1 -lgtest -lgmock -lpthread"
g++ $1 -lgtest -lgmock -lpthread

# g++ ex.cc -lgtest -lgmock -lpthread -E | grep -v ^# >> exe.cc